/*设备显示宽度*/
device_w = function(){
	var screen_w = $(window).width();
	if(screen_w >= 1252){
		return "w1";
	}else if(screen_w < 1252 && screen_w >= 1002){
		return "w2"
	}else if(screen_w < 1002 && screen_w >= 746){
		return "w3"
	}else if(screen_w < 746 && screen_w >= 490){
		return "w4";
	}else if(screen_w < 490){
		return "w5";
	}
};
/*设备类型*/
device_t = function(){
	if (!navigator.userAgent.match(/mobile/i)){
		return "pc"
	}else{
		return "mobile"
	}
}